<include file="Public:form.head" />
<script>
    $(function(){

        $('.skin-color').click(function(){

            $('head').append("<link id='skinstyle' rel='stylesheet' href='__PUBLIC__/Admin/tpl/css/style."+$(this).attr('href')+".css' type='text/css' />");   

            $.post('__URL__/changecolor',{'color':$(this).attr('href')},function(data){
                // alert(data);
                        
            });
            return false;
        });

    });

</script>
<body onload = "startTime();">

<div class="mainwrapper">
    
    <include file="Public:menu.body" />
    
    <!-- START OF RIGHT PANEL -->
    <div class="rightpanel">
        <include file="Public:users.body" /><!--右边头部-->
        <div class="breadcrumbwidget">
            <ul class="skins">
                <li><a href="default" class="skin-color default"></a></li>
                <li><a href="orange" class="skin-color orange"></a></li>
                <li><a href="dark" class="skin-color dark"></a></li>
                <li>&nbsp;</li>
                <li class="fixed"><a href="" class="skin-layout fixed"></a></li>
                <li class="wide"><a href="" class="skin-layout wide"></a></li>
            </ul><!--skins-->
            <ul class="breadcrumb">
                <li><a href="__APP__/Index/main">Home</a> <span class="divider">/</span></li>
                <li><a href="#">车辆管理</a> <span class="divider">/</span></li>
                <li class="active">添加优惠</li>
            </ul>
        </div><!--breadcrumbs-->
        <div class="pagetitle">
            <h1>添加优惠</h1> <span>用来添加优惠信息</span>
        </div><!--pagetitle-->
        
        <div class="maincontent">
            <div class="contentinner">
                <h4 class="widgettitle">添加优惠</h4>
                <div class="widgetcontent">
                    <form class="stdform" action="__APP__/Foods/up" method="post">
                        
                        <p>
                            <label>车辆编号</label>
                            <span class="field">
                                <input type="text" name="id" class="input-xxlarge" placeholder="车辆编号" />
                            </span>
                        </p>                        
                        <p>
                            <label>优惠价格</label>
                            <span class="field"><input type="text" name="yprice" class="input-xxlarge" placeholder="优惠价格" value="<{$fdata.yprice}>" /></span>
                        </p>
                        <p>
                            <label>优惠时间</label>
                            <span>
                                <{$start_time}>-<{$endtime}>
                            </span>
                           
                        </p>
                                     
                        <p class="stdformbutton">
                            <button class="btn btn-primary">提交</button>
                            <button type="reset" class="btn">重置</button>
                        </p>
                           
                    </form>  
                </div><!--widgetcontent-->
            </div><!--contentinner-->
        </div><!--maincontent-->
        
    </div><!--mainright-->
    <!-- END OF RIGHT PANEL -->
    
    <div class="clearfix"></div>
    
    <div class="footer">
        <div class="footerleft">快达租赁管理 v1.0</div>
        <div class="footerright">&copy; twen_Yee </div>
    </div><!--footer-->

    
</div><!--mainwrapper-->
</body>
</html>